//
//  BorkerCellModel.m
//  WGFGlobalHouses
//
//  Created by waiguofang on 15/5/21.
//  Copyright (c) 2015年 waiguofang. All rights reserved.
//

#import "BorkerCellModel.h"

@implementation BorkerCellModel

-(instancetype)initWithDic:(NSDictionary *)dic;
{
    if (self = [super init])
    {
        self.brokerId = [NSString stringWithFormat:@"%@",dic[@"brokerId"]];
        self.brokerName  = dic[@"brokerName"];
        self.brokerMobile = dic[@"brokerMobile"];
        self.brokerAvatar = dic[@"brokerAvatar"];
        self.storeName = dic[@"storeName"];
        self.brokerages = dic[@"brokerages"];
        self.status = [dic[@"status"]integerValue];
        self.isMoved = [dic[@"history"]boolValue];
        
    }
    return self;
}
+(instancetype)borkderCellModelWithDic:(NSDictionary *)dic;
{
    return [[self alloc]initWithDic:dic];
}



@end
